﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gao.Poker.Domain
{
    /// <summary>
    /// 报名人
    /// </summary>
    public class CompetitionEntry
    {
        [Key]
        public int ID { get; set; }

        public int CompetitionID { get; set; }

        [StringLength(20)]
        public String MemberCardNo { get; set; }
        /// <summary>
        /// 首次买入
        /// </summary>
        public int BuyNumber { get; set; }
        /// <summary>
        /// 重新买入人数
        /// </summary>
        public int BuyAgainNumber { get; set; }
        /// <summary>
        /// 最后买入人数
        /// </summary>
        public int BuyLastNumber { get; set; }
        /// <summary>
        /// 买入金额
        /// </summary>
        public Decimal BuyMoney { get; set; }
        /// <summary>
        /// 名次
        /// </summary>
        public int Rank { get; set; }
        /// <summary>
        /// 奖金
        /// </summary>
        public Decimal Bonus { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDt { get; set; }
        /// <summary>
        /// 0 在比赛中 1 退出
        /// </summary>
        public int OutState { get; set; }
    }
}
